Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Data Structures


Parametric Points

QuickDraw 3D defines the TQ3Param2D and TQ3Param3D data structures to represent two- and three-dimensional parametric points.

typedef struct TQ3Param2D {
   float       u;
   float       v;
} TQ3Param2D;
typedef struct TQ3Param3D {
   float       u;
   float       v;
   float       w;
} TQ3Param3D;
Field Description
u
The u component of a parametric point.
v
The v component of a parametric point.
w
The w component of a parametric point.
Note
The u, v, and w components are sometimes represented by the letters s, t, and u, respectively. This book always uses u, v, and w.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996